package com.bluemsun.naturallanguageprocessing.dao;

import com.bluemsun.naturallanguageprocessing.entity.Classify;
import com.bluemsun.naturallanguageprocessing.entity.Question;
import com.bluemsun.naturallanguageprocessing.vo.BrowseVO;
import com.bluemsun.naturallanguageprocessing.vo.CorVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ：hj
 * @date ：Created in 2021/4/8 20:15
 * @description：相似度 只计算相同标签
 * @modified By：
 * @version: $
 */
@Repository
public interface CorMapper {
    /**
     * @author     ：hj
     * @date       ：Created in 2021/4/26 18:03
     * @description：插入相识度
     * @modified By：
     * @version:
     */
    int insertSelective(List<CorVO> list);
    /**
     * @author     ：hj
     * @date       ：Created in 2021/4/26 18:03
     * @description：根据浏览记录找该相识度的值
     * @modified By：
     * @version:
     */
    Integer  countQuestionByCorr(@Param("list") List<BrowseVO> list);
}
